﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OnlineManagement.BLL;
namespace OnlineManagement.Web.pages
{
    public partial class SowDelete : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                string sowId = Request.QueryString["sowId"] ?? "";
                string bitId = Request.QueryString["bitId"] ?? string.Empty;
                string type = Request.QueryString["type"] ?? string.Empty;
                string joinDate = Request.QueryString["date"] ?? string.Empty;
                string pigPen = Request.QueryString["pigPen"] ?? string.Empty;
                string hoggerId = Request.QueryString["hogger"] ?? string.Empty;
                lbBitID.Text = bitId;
                lbType.Text = type;
                lbInFarmDate.Text = joinDate;
                lbPigPenID.Text = pigPen;
                hfId.Value = sowId;
                hfHogger.Value = hoggerId;
            }
        }

    }
}